package de.koo.grum.domain

class Group {
   String name

   static hasMany = [users:User]
   static mapping = {
	      table 'tbl_groups'
	  }
   
   static constraints = {
       name(size:2..20,blank:false,unique:true)
   }

   String toString() {"${this.name}"}
}